import { post_qccx } from '@/utils/http'
// 登录
export const login = (data) => post_qccx({ method: 'POST', url: '/saas/login', data })

// 安全认证-登录身份认证
export const loginAuth = (data) => post_qccx({ method: 'POST', url: '/saas/loginAuth', data })

// 发送短信验证码
export const sendSMSCode = (data) => post_qccx({ method: 'POST', url: '/saas/sendMsgValidateCode', data })

// 退出登录
export const logout = (data) => post_qccx({ method: 'POST', url: '/saas/loginOut', data })
// 用户权限
export const getUserPermissions = (data) => post_qccx({ method: 'POST', url: '/qms/index/getRolesAndPermissions', data })
// 获取用户信息
export const getUserInfo = (data) => post_qccx({ method: 'POST', url: '/qms/index/indexInfo', data })
// 订单数量统计
export const orderStatistics = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/orderStatistics', data })
// 订单数量统计
export const orderCancel = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/cancel', data })
// 页面枚举
export const getEnums = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/getEnums', data })
// 获取取消费
export const getCancelPrice = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/getCancelPrice', data })
// 订单详情
export const getOrderDetail = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/detail', data })
// 订单价格信息
export const getOrderPrice = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/getOrderPrice', data })
// 确认订单
export const confirmOrder = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/confirm', data }) 
// 获取修改信息
export const getUpdateInfo = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/getUpdateInfo', data }) 
// 修改确认
export const saveUpdateInfo = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/saveUpdateInfo', data })
// 获取城市列表
export const getCityList = (data) => post_qccx({ method: 'POST', url: '/qms/area/findCitysByName', data })
// 获取车型组
export const getModelGroup = (data) => post_qccx({ method: 'POST', url: '/qms/geModelGroup/getList', data })
// 获取车系
export const getCarSeries = (data) => post_qccx({ method: 'POST', url: '/qms/carModel/searchCarSeries', data })
// 分发获取服务商费用
export const getProviderPrice = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/getProviderPrice', data })
// 订单分发
export const orderGive = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/give', data })
// 订单重新分发
export const orderReGive = (data) => post_qccx({ method: 'POST', url: '/qms/geOrderInfo/reGive', data })
